<!--
/**************************************************/
/* Programmer: Dimas Widjaya                      */
/*       Date: 2/2/2013                           */
/*  Page Name: QuestionsAndTests.php              */
/*                                                */
/**************************************************/

/**************************************************/
/*  The site index, provides login system.        */
/*                                                */
/**************************************************/

/**************************************************/
/*   Date        Reviser       Revision           */
/* --------     ---------     ----------          */
/* 2/18/2013    DCA           01                  */
/*                                                */ 
/*	                                              */
/*							        			  */
/*                                                */
/**************************************************/
-->

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
	<head>
		<link rel="stylesheet" type="text/css" href="css/template.css">
		<script type="text/javascript" src="JQuery/jquery-1.9.0.min.js"></script>  
		<script type="text/javascript" src="JS/FirstPage.js"></script> 
		<script type="text/javascript" src="JS/QA.js"></script>
		<title>Page Title</title>
	</head>
	<body>
		<div id="main">
			
			<div id="TopBoard">
				<img src="images/redpen-01.png" alt="RedPenLogo" id="RedPenLogo"/>

			</div>
			
			<div id="HeaderBar"></div>
			
			<div id="Content">	
				<?php
					require("functions.php");
					require("webservices.php");
					$result = populate_dropdown_options(Get_teacher_courses(33));
					if($result != null)
					{
						echo "<select>";
						echo $result;
						echo "</select>";
						echo "Enter test name: "."<input type=\"text\" name=\"test-name\" id=\"test-name\" size=\"40\">";
					}
					else
						echo "there are no courses that are open for test creation. please contact administration (aka flash gordon STYLE!!!!) for verification.<br />have a nice day";
				?>
			</div>
			
			<div id="footer">
				<div id="HeaderBar"></div>
				<br/>
				<span id="Copyright">
					&#169; Team Flash 2013
					<br/>Pensacola Christian College
				</span>
				<br/>
			</div>		
		</div>
	</body>
			
</html>